"""
urls
Administrator
2023/12/4
convergence_server
"""
from rest_framework_simplejwt.views import TokenRefreshView, TokenVerifyView
from rest_framework import routers
from django.urls import include, path

from medias.views import *

router = routers.DefaultRouter()

router.register('list', MediasListView, basename='list'),
router.register('image', ImageViewSet, basename="image")
router.register('video', VideoViewSet, basename="video")
router.register('content_type', ContentTypeViewSet, basename="content_type")
router.register('content_label', ContentLabelViewSet, basename="content_label")
router.register('task', MediaDeviceTask, basename="device_task")
# router.register('account_bind_media', AccountBindMediaContentViewSets, basename='account_bind_media')
# router.register('create_video', CreateVideoViewSets, basename='create_video')  # 创建视频
# router.register('create_article', CreateArticleViewSets, basename='create_article')  # 创建文章

app_name = 'medias'

urlpatterns = [
    path('', include(router.urls)),
]
